﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="GenerationRecueil.aspx.vb" Inherits="OpenDelib.GenerationRecueil" %>
<%@ Register TagPrefix="asp" Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" %>
<%@ Register TagPrefix="cc1" Namespace="Odyssee.WebControles" Assembly="Odyssee.WebControles" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <style type="text/css">
        .bloc {
            border:none;
            float:none;
            margin:0;
            min-width:initial;
            width:100%;
        }
    </style>

    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptManager" EnablePageMethods="true" runat="server" />

        <asp:UpdateProgress runat="server" id="upProgress">
            <ProgressTemplate>
                <div class="loader">
                    <div>
                        <img src="<%=ResolveUrl("~/images/loader_white.gif") %>" alt="" /><br />
                        <asp:Label ID="lblChargement" runat="server" Text="Veuillez patienter..."></asp:Label>
                    </div>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <asp:UpdatePanel runat="server" id="upMain" style="width:100%; height:100%;">
            <ContentTemplate>

                <div class="bloc">
                    <div class="divTitle">
                        <asp:Label runat="server" Text="Paramètres" CssClass="labelDivTitle" />
                    </div>
    
                    <%--FORMAT DE SORTIE--%>
                    <div class="divMiniTitle">
                        <asp:Label runat="server" Text="Format de sortie" CssClass="label" />
                    </div>
                    <asp:DropDownList ID="cmbFormatDeSortie" runat="server" CssClass="combo" Style="width: 100%; border: none;" />

                    <%--RAPPORTS--%>
                    <div class="divTitle">
                        <asp:Label runat="server" Text="Rapport(s) à traiter" CssClass="labelDivTitle" />
                    </div>
                    <cc1:AcroGridView ID="gvResultats" runat="server" AutoGenerateColumns="false" CssClass="grid" AllowPaging="true" PageSize="10" PagerStyle-CssClass="gridpager" AllowSorting="false" EmptyDataText="Aucun rapport" EmptyDataRowStyle-HorizontalAlign="Center" ShowHeaderWhenEmpty="True" style="border-bottom: 2px solid black; border-top: 2px solid black; height: 24px; line-height:24px; padding:0px;">
                        <Columns>
                            <asp:TemplateField HeaderText="" SortExpression="" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Wrap="false">
                                <HeaderTemplate><asp:CheckBox ID="chkSelectionnerTout" runat="server" Checked="False" ClientIDMode="Static" /></HeaderTemplate>
                                <ItemTemplate><asp:CheckBox ID="chkSelection" runat="server" Checked="False" Text='<%#Eval("CodeDossier")%>' CssClass="hiddenCheckBox" /></ItemTemplate>
                            </asp:TemplateField>
                            <cc1:BoundField DataField="CodeDossier" ReadOnly="True" SortExpression="CodeDossier" HeaderText="N°" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Wrap="false" />
                            <cc1:BoundField DataField="Identificateur" ReadOnly="True" SortExpression="Identificateur" HeaderText="Identificateur" ItemStyle-HorizontalAlign="Left" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Wrap="false" />
                            <cc1:BoundField DataField="DateFinValidite" ReadOnly="True" SortExpression="DateFinValidite" HeaderText="Fin de validité" ItemStyle-HorizontalAlign="Center" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Wrap="false" />
                        </Columns>
                    </cc1:AcroGridView>

                </div>

                <div class="popupfixedbuttons" style="right:0px; text-align: center; width: 100%;">
                    <asp:Button ID="btnOK" CssClass="btn" Text="OK" runat="server" Width="100px" />
                    <input id="btnAnnuler" runat="server" type="button" value="Annuler" class="btn" style="width:100px;" />
                </div>

            </ContentTemplate>
        </asp:UpdatePanel>

    </form>
</body>
</html>
